<div class="index">
    <ul>
#foreach ($document in $graph.ListDocuments())
        <li>
            <a href="$doc.PathToRoot$document.Reference.ToUrl()">$document.Title</a>
        </li>
#end
    </ul>
</div>